@normal-height: 0.5em;

@big: 1.2rem;
@middle: 1rem;
@normal: 1rem;
@small: 0.8rem;

@title-height: 2.8rem;
@tab-selector: #0a8efd;
@border-color: #0a8efd;

.line {
  height: 1px;
  width: 100%;
  border-bottom: 1px solid @border-color;
}

* {
  color: white;
}

.content {
  height: 800px;
  background: #080;
  padding: 1em;
}

#content-pane {
  background: url("../img/bg.png");
  padding: 0.5em;
}

.flex {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.header {
  height: 4rem;
  font-size: 2.4rem;
  display: flex;
  background: rgba(0, 0, 0, 0.3);
}

.header span {
  margin: auto;
  color: white;
}

.header + table {
  height: calc(100% - 4rem);
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
}

.header + table td {
  padding: @normal-height;
  width: 33.33%;
}

.header + table td > div {
  height: calc(100% - @normal-height);
  /*height: 100%;*/
  /*margin: 0.2em;*/
  background: #072e4599;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 0.05rem solid @border-color;
}

.chart-item .title {
  height: @title-height;
  background: #274ea566;
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  font-size: @middle;
}

.chart-item .normal-chart-body {
  //background: green;
  //background: #072e45;
  //border: 1px solid #ccc;
  position: absolute;
  top: @title-height;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100% - @title-height);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.chart-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.chart-item .title p {
  height: 2.8rem;
  background: url("../img/border-star.png");
  background-position: center center;
  position: absolute;
  width: 100%;
  opacity: 0.8;
  //z-index: -1;
}

.chart-item .title span {
  background: #072e4500;
  z-index: 1;
}

.chart {
  flex: 1;
  margin: 0 0 0.6em 0;
}

.map {
  width: 100%;
  height: 100%;
}

.normal-text {

}

.layui-row.flex {
  height: 33.33%;
  flex-direction: row;
}

.layui-row .chart {
  height: 100%;
}

.show {
  opacity: 1 !important;
}

.hidden {
  /*display: none;*/
  opacity: 0;
}

.layui-hide {
  display: block !important;
  opacity: 0;
}

.layui-show {
  display: block !important;
  opacity: 1;
}

.layui-show {
  opacity: 1;
}

.layui-tab-brief > .layui-tab-title .layui-this {
  color: @tab-selector;
}

.layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
  border: none;
  border-radius: 0;
  border-bottom: 2px solid @tab-selector;
}

.piece-text {
  margin: 0.2em;
  padding: 0.2em 0.4em;
  background-color: #009fda;
  display: inline-block;
}